Cross-Version Extension for ElementDefinition.maxValue[x] in R2

URLhttp://hl7.org/fhir/1.0/StructureDefinition/extension-ElementDefinition.maxValue[x]
Version
Statusactive
Description

Cross-Version Extension for ElementDefinition.maxValue[x]. Valid in versions R5

This is a valid extension because the types Meta, code, string, Address, Reference, Period, Attachment, oid, Range, uri, Annotation, HumanName, ContactPoint, boolean, Identifier, base64Binary, Coding, Signature, markdown, SampledData, Ratio, id, Timing, CodeableConcept were removed in a later version

Context of Use

This extension may be used in the following contexts:


NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..1ExtensionMaximum Allowed Value (for some types)
... extension ..0
... value[x] 1..
... url "http://hl7.org/fhir/1.0/StructureDefinition/extension-ElementDefinition.maxValue[x]"

doco Documentation for this format

{
  "resourceType" : "StructureDefinition",
  "id" : "xv-r2-eld.maxValue[x]",
  "url" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ElementDefinition.maxValue[x]",
  "name" : "XVerExtensionElementDefinition.maxValue[x]R2",
  "title" : "Cross-Version Extension for ElementDefinition.maxValue[x] in R2",
  "status" : "active",
  "experimental" : false,
  "publisher" : "HL7 FHIR Standard",
  "contact" : [{
    "telecom" : [{
      "system" : "other",
      "value" : "http://hl7.org/fhir"
    }]
  }],
  "description" : "Cross-Version Extension for ElementDefinition.maxValue[x]. Valid in versions R5\r\n\r\nThis is a valid extension because the types Meta, code, string, Address, Reference, Period, Attachment, oid, Range, uri, Annotation, HumanName, ContactPoint, boolean, Identifier, base64Binary, Coding, Signature, markdown, SampledData, Ratio, id, Timing, CodeableConcept were removed in a later version",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
      "code" : "001"
    }]
  }],
  "fhirVersion" : "5.0.0",
  "kind" : "complex-type",
  "abstract" : false,
  "context" : [{
    "extension" : [{
      "extension" : [{
        "url" : "startFhirVersion",
        "valueCode" : "5.0"
      },
      {
        "url" : "endFhirVersion",
        "valueCode" : "5.0"
      }],
      "url" : "http://hl7.org/fhir/StructureDefinition/version-specific-use"
    }],
    "type" : "element",
    "expression" : "ElementDefinition"
  },
  {
    "type" : "extension",
    "expression" : "http://hl7.org/fhir/5.0/StructureDefinition/extension-ElementDefinition"
  }],
  "type" : "Extension",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Extension",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "path" : "Extension",
      "short" : "Maximum Allowed Value (for some types)",
      "definition" : "The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity.",
      "comment" : "Except for date/date/instant, the type of the maxValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of maxValue[x] SHALL be either the same, or a a [Duration](datatypes.html#duration) which specifies a relative time limit to the current time. The duration value is positive, and is added to the current clock to determine the maximum allowable value.   A maximum value for a Quantity is interpreted as an canonical maximum - e.g. you cannot provide 10g if the maximum value is 50mg.",
      "min" : 0,
      "max" : "1",
      "isModifier" : false,
      "mapping" : [{
        "identity" : "rim",
        "map" : "N/A (MIF territory)"
      }]
    },
    {
      "path" : "Extension.extension",
      "max" : "0"
    },
    {
      "path" : "Extension.value[x]",
      "min" : 1
    },
    {
      "path" : "Extension.url",
      "fixedUri" : "http://hl7.org/fhir/1.0/StructureDefinition/extension-ElementDefinition.maxValue[x]"
    }]
  }
}